package  
{
	import net.flashpunk.Entity;
	import net.flashpunk.graphics.Image;
	import net.flashpunk.utils.Input;
	import net.flashpunk.FP;
	
	/**
	 * © 2012 TheJavaArcade.com
	 */	
	public class Cursor extends Entity {
		
		private var cursor_sprite:Image = new Image(Assets.CURSOR_SPRITE);
		
		public function Cursor() {
			graphic = cursor_sprite;
			layer = -5;
		}
		
		override public function update():void {
			x = Input.mouseX - 20;
			y = Input.mouseY - 20;
		}
		
	}

}